#include <Arduino.h>
#include "led.h"

// How many leds in your strip?
#define NUM_LEDS 1

#define DATA_PIN 48

// Define the array of leds
CRGB leds[NUM_LEDS];

void led_init(void){
    FastLED.addLeds<WS2812B, DATA_PIN, GRB>(leds, NUM_LEDS); 
}
void led_blink(void){
leds[0] = CRGB::Red;
    FastLED.show();
    delay(500);
    // Now turn the LED off, then pause
    leds[0] = CRGB::Yellow;
    FastLED.show();
    delay(500);

    leds[0] = CRGB::Green;
    FastLED.show();
    delay(500);
}